setDuration
Sets the duration for the underlying animator that animates the requested properties. By default, the animator uses the default value for ValueAnimator. Calling this method will cause the declared value to be used instead.
Return
This object, allowing calls to methods in this class to be chained.
Parameters
value
The length of ensuing property animations, in milliseconds. The value cannot be negative.